<?php
/**************************************************************************
 * Naanal PHP Framework, Simple, Efficient and Developer Friendly
 * Ver 3.0, Copyright (C) <2010>  <Tamil Amuthan. R>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ************************************************************************/
?>
<form action="index.php">
    <input type="hidden" name="<?php echo $url_module_param; ?>" value="naanaladmin" />
    <input type="hidden" name="action" value="generate" />
    <input type="hidden" name="switch" value="appconfig" />
    <table>
        <tr>
            <td>Database Name</td><td>:</td><td><input type="text" name="database" /></td>
        </tr>
        <tr>
            <td>User</td><td>:</td><td><input type="text" name="user" /></td>
        </tr>
        <tr>
            <td>Password</td><td>:</td><td><input type="password" name="password" /></td>
        </tr>
        <tr>
            <td>Host</td><td>:</td><td><input type="text" name="host" value="localhost" /></td>
        </tr>
        <tr>
            <td>Database Name</td><td>:</td><td><input type="text" name="database" /></td>
        </tr>
        <tr>
            <td>Theme</td><td>:</td><td><input type="text" name="theme" /></td>
        </tr>
        <tr>
            <td>Language</td><td>:</td><td><input type="text" name="lang" /></td>
        </tr>
        <tr>
            <td>Pagination Variable</td><td>:</td><td><input type="text" name="pagevar" value="pg" /></td>
        </tr>
        <tr>
            <td>Is Default</td><td>:</td><td><input type="checkbox" name="is_default" checked /></td>
        </tr>
        <tr>
            <td>Enable Log</td><td>:</td><td><input type="checkbox" name="log" checked /></td>
        </tr>
        <tr>
            <td>Enable Tracking</td><td>:</td><td><input type="checkbox" name="tracking" checked /></td>
        </tr>
        <tr>
            <td>Is Developer Mode</td><td>:</td><td><input type="checkbox" name="developermode" checked /></td>
        </tr>
        <tr><td colspan="3" style="text-align:center;"><center><input type="submit" value="Submit" /></center></td></tr>
    </table>
</form>